using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class BuffParalyzed:BuffBase {

	public override string spriteName => "paralyzed";
	public BuffParalyzed(BuffSlot slot,Mob mob) : base(slot,mob) { }

	protected override void Update() {
		base.Update();
		mob.ChangeLocalTimeScale(0.5f);
		_stacks-=Time.deltaTime;
		if(_stacks<0) RemoveSelf();
	}
}